#include "No7pch.h"
#include "Log.h"

#include <spdlog/sinks/stdout_color_sinks.h>

std::shared_ptr<spdlog::logger> nmspc::Log::core_logger;

std::shared_ptr<spdlog::logger> nmspc::Log::client_logger;

void nmspc::Log::init()
{
	spdlog::set_pattern("%^[%T] %n: %v%$");
	nmspc::Log::core_logger = spdlog::stdout_color_mt("NO7");
	nmspc::Log::core_logger->set_level(spdlog::level::trace);
	nmspc::Log::client_logger = spdlog::stdout_color_mt("APP");
	nmspc::Log::client_logger->set_level(spdlog::level::trace);
}
